import math
def check_point_in_circle(x, y, radius):
    distance = math.sqrt(x**2 + y**2)
    if distance > radius:
        return -1
    elif distance == radius:
        return 0
    else:
        return 1
       
x = float(input())
y = float(input())
radius = float(input())

result = check_point_in_circle(x, y, radius)
print(result)